<?php
$this->breadcrumbs=array(
	Yii::t('mainnav','Wiki')=>array('index'),
	$model->title,
);

$this->menu=array(
	array('label'=>'List Wiki', 'url'=>array('index')),
	array('label'=>'Create Wiki', 'url'=>array('create')),
	array('label'=>'Update Wiki', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Wiki', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Wiki', 'url'=>array('admin')),
);
?>

<h1><?php echo $model->title;?></h1>
<h2><?php echo $model->category;?></h2>
<h3><?php echo $model->keyword;?></h3>
<div class="code">
	<pre class="brush:<?php echo $model->syntax;?>;">
		<?php echo $model->content;?>
	</pre>
	<?php if($model->syntax != 'plain'){
		$this->widget('application.extensions.syntaxhighlighter.SyntaxHighlighter', array());
	}
	?>
</div>
